

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.16
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: utnyttja hela hero-bredden när bildytan är borttagen */
.page-id-150 .kt-hero {
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(36px, 5vw, 64px) !important;
}
.page-id-150 .kt-hero .kt-wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(28px, 3.8vw, 72px) !important;
  padding-right: clamp(28px, 3.8vw, 72px) !important;
}
.page-id-150 .kt-hero h1 {
  max-width: 1680px !important;
  font-size: clamp(58px, 7.2vw, 138px) !important;
  line-height: .88 !important;
  letter-spacing: -0.06em !important;
  text-wrap: balance;
}
.page-id-150 .kt-hero p {
  max-width: 980px !important;
  font-size: clamp(18px, 1.6vw, 25px) !important;
}
.page-id-150 .kt-cats {
  max-width: 1180px !important;
}
@media (max-width: 760px) {
  .page-id-150 .kt-hero h1 {
    font-size: clamp(42px, 13vw, 64px) !important;
    line-height: .9 !important;
  }
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.13
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: tvinga hero att använda full bredd */
.page-id-150 .kt-hero {
  display: block !important;
  width: 100% !important;
}
.page-id-150 .kt-hero-grid,
.page-id-150 .kt-hero .kt-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.page-id-150 .kt-hero h1 {
  width: 100% !important;
  max-width: 1680px !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.14
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: utnyttja hela hero-bredden när bildytan är borttagen */
.page-id-150 .kt-hero {
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(36px, 5vw, 64px) !important;
}
.page-id-150 .kt-hero .kt-wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(28px, 3.8vw, 72px) !important;
  padding-right: clamp(28px, 3.8vw, 72px) !important;
}
.page-id-150 .kt-hero h1 {
  max-width: 1680px !important;
  font-size: clamp(58px, 7.2vw, 138px) !important;
  line-height: .88 !important;
  letter-spacing: -0.06em !important;
  text-wrap: balance;
}
.page-id-150 .kt-hero p {
  max-width: 980px !important;
  font-size: clamp(18px, 1.6vw, 25px) !important;
}
.page-id-150 .kt-cats {
  max-width: 1180px !important;
}
@media (max-width: 760px) {
  .page-id-150 .kt-hero h1 {
    font-size: clamp(42px, 13vw, 64px) !important;
    line-height: .9 !important;
  }
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.13
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Färgfix: cyan utan orange text */
:root {
  --kt-accent: #089bb8;
}
body .main-navigation ul.menu > li.current-menu-item > a,
body .main-navigation ul.menu > li.current_page_item > a,
body .main-navigation ul.menu > li.current-menu-ancestor > a,
body .main-navigation ul.menu > li > a:hover,
body .main-navigation ul.menu > li > a:focus,
body .site-header-cart:hover > li > a,
body .site-header-cart:focus-within > li > a {
  background: #089bb8 !important;
  color: #020607 !important;
}
body .main-navigation ul.menu > li.current-menu-item > a *,
body .main-navigation ul.menu > li.current_page_item > a *,
body .main-navigation ul.menu > li > a:hover *,
body .main-navigation ul.menu > li > a:focus * {
  color: #020607 !important;
}
.kt-btn,
.button,
button,
input[type="button"],
input[type="submit"],
a.button,
.woocommerce a.button,
.woocommerce button.button {
  background-color: #089bb8 !important;
  color: #020607 !important;
}
.kt-kicker,
.kt-why-card h3,
.page-id-150 .kt-why-card h3 {
  color: #089bb8 !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.15
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: utnyttja hela hero-bredden när bildytan är borttagen */
.page-id-150 .kt-hero {
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(36px, 5vw, 64px) !important;
}
.page-id-150 .kt-hero .kt-wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(28px, 3.8vw, 72px) !important;
  padding-right: clamp(28px, 3.8vw, 72px) !important;
}
.page-id-150 .kt-hero h1 {
  max-width: 1680px !important;
  font-size: clamp(58px, 7.2vw, 138px) !important;
  line-height: .88 !important;
  letter-spacing: -0.06em !important;
  text-wrap: balance;
}
.page-id-150 .kt-hero p {
  max-width: 980px !important;
  font-size: clamp(18px, 1.6vw, 25px) !important;
}
.page-id-150 .kt-cats {
  max-width: 1180px !important;
}
@media (max-width: 760px) {
  .page-id-150 .kt-hero h1 {
    font-size: clamp(42px, 13vw, 64px) !important;
    line-height: .9 !important;
  }
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.13
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: tvinga hero att använda full bredd */
.page-id-150 .kt-hero {
  display: block !important;
  width: 100% !important;
}
.page-id-150 .kt-hero-grid,
.page-id-150 .kt-hero .kt-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.page-id-150 .kt-hero h1 {
  width: 100% !important;
  max-width: 1680px !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.14
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: utnyttja hela hero-bredden när bildytan är borttagen */
.page-id-150 .kt-hero {
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(36px, 5vw, 64px) !important;
}
.page-id-150 .kt-hero .kt-wrap {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(28px, 3.8vw, 72px) !important;
  padding-right: clamp(28px, 3.8vw, 72px) !important;
}
.page-id-150 .kt-hero h1 {
  max-width: 1680px !important;
  font-size: clamp(58px, 7.2vw, 138px) !important;
  line-height: .88 !important;
  letter-spacing: -0.06em !important;
  text-wrap: balance;
}
.page-id-150 .kt-hero p {
  max-width: 980px !important;
  font-size: clamp(18px, 1.6vw, 25px) !important;
}
.page-id-150 .kt-cats {
  max-width: 1180px !important;
}
@media (max-width: 760px) {
  .page-id-150 .kt-hero h1 {
    font-size: clamp(42px, 13vw, 64px) !important;
    line-height: .9 !important;
  }
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.13
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Global link cleanup: remove underlines */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.12
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* FINAL footer cleanup override */
body .site-footer .site-info {
  color: transparent !important;
}
body .site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff !important;
}
body .site-footer .site-info a {
  color: #ffffff !important;
}
body .site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
body .site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff !important;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.11
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info {
  color: transparent !important;
}
.site-footer .site-info::before {
  content: "© Karttools 2026";
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.10
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}


/* Startsida butik: läsbar infosektion och ren footer */
.page-id-150 .kt-why-card h3 {
  color: #05a6c7 !important;
}
.page-id-150 .kt-why-card p {
  color: #ffffff !important;
}
.page-id-150 .kt-why-card {
  border-color: rgba(255,255,255,.36) !important;
}
.site-footer .site-info a[href*="woocommerce.com"] {
  display: none !important;
}
.site-footer .site-info {
  color: #ffffff !important;
}
.site-footer .site-info a {
  color: #ffffff !important;
}
.site-footer .site-info::after {
  content: "Kontakt: hello@karttools.se";
  display: block;
  margin-top: 12px;
  color: #ffffff;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.8
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}

/* Elementor-sida 150: dölj extra produkt-rubrik på butik-startsidan */
.page-id-150 .kt-section-head {
  display: none !important;
}
.page-id-150 .kt-products {
  padding-top: 24px !important;
}
/*
Theme Name: Karttools
Theme URI: https://karttools.se
Description: Ett Storefront-barntema för Karttools WooCommerce-butik.
Author: Karttools
Template: storefront
Version: 0.2.7
Text Domain: karttools
*/

:root {
  --kt-black: #0b0c0d;
  --kt-charcoal: #202225;
  --kt-graphite: #3b3f43;
  --kt-muted: #686d72;
  --kt-line: #e3e5e7;
  --kt-soft: #f4f5f6;
  --kt-white: #ffffff;
  --kt-accent: #ff5a1f;
  --kt-content: 1280px;
  --kt-gutter: clamp(20px, 4vw, 64px);
  --kt-heading: "Orbitron", "Arial Black", sans-serif;
  --kt-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--kt-black);
  background: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.col-full {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  padding: 0;
  border: 0;
  background: var(--kt-black);
  color: var(--kt-white);
}

.site-header .col-full {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.site-branding { width: auto; margin: 0 auto 0 0; }
.site-title, .site-branding .site-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-title a { color: var(--kt-white); text-decoration: none; }
.site-description { display: none; }

.storefront-primary-navigation { flex: 1; margin: 0; background: transparent; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  padding: 29px 18px;
  color: var(--kt-white);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--kt-accent); }

.site-header-cart .cart-contents { padding: 28px 0; color: var(--kt-white); }
.site-header-cart .cart-contents:hover { color: var(--kt-accent); }

.site-content { outline: none; }
.content-area { width: 100%; float: none; margin: 0; }
.site-main { margin: 0; }

.kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin-inline: auto;
}

.kt-heading {
  margin: 0;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.kt-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.kt-button:hover, .button:hover, button:hover, input[type="submit"]:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-button--dark { border-color: var(--kt-black); background: var(--kt-black); }
.kt-button--dark:hover { border-color: var(--kt-accent); background: var(--kt-accent); }

.kt-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  border-bottom: 1px solid var(--kt-line);
}
.kt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(36px, 6vw, 96px) clamp(72px, 9vw, 132px) max(var(--kt-gutter), calc((100vw - var(--kt-content)) / 2));
}
.kt-hero__title { max-width: 700px; font-size: clamp(44px, 5.3vw, 84px); }
.kt-hero__text { max-width: 570px; margin: 28px 0 34px; color: var(--kt-graphite); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; }
.kt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.kt-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--kt-soft);
}
.kt-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--kt-line) 1px, transparent 1px), linear-gradient(90deg, var(--kt-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
}
.kt-media__note {
  position: absolute;
  inset: auto 24px 24px;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--kt-accent);
  background: rgba(255,255,255,.94);
  color: var(--kt-muted);
  font-size: 13px;
}

.kt-section { padding: clamp(76px, 9vw, 132px) 0; }
.kt-section--soft { background: var(--kt-soft); }
.kt-section__header { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.kt-section__title { font-size: clamp(34px, 4vw, 58px); }
.kt-section__intro { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }

.kt-categories__header {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.kt-categories__header > div { max-width: 760px; }
.woocommerce-product-search { width: min(380px, 100%); display: flex; }
.woocommerce-product-search .search-field {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--kt-line);
  border-radius: 0;
  background: var(--kt-white);
  box-shadow: none;
  font-family: var(--kt-body);
}
.woocommerce-product-search button { min-height: 48px; padding-inline: 18px; }

.kt-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--kt-line);
  border-left: 1px solid var(--kt-line);
}
.kt-category-link {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 18px;
  padding: 28px 30px;
  border-right: 1px solid var(--kt-line);
  border-bottom: 1px solid var(--kt-line);
  background: var(--kt-white);
  color: var(--kt-black);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.kt-category-link span {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-category-link small { color: var(--kt-muted); font-size: 13px; }
.kt-category-link svg {
  width: 24px;
  height: 24px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  fill: none;
  stroke: var(--kt-accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
a.kt-category-link:hover { background: var(--kt-black); color: var(--kt-white); }
a.kt-category-link:hover small { color: #bfc2c5; }

.kt-products .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: 0;
}
.kt-products ul.products li.product,
ul.products li.product {
  width: auto;
  margin: 0;
  text-align: left;
}
ul.products li.product img { margin-bottom: 20px; background: var(--kt-soft); }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
ul.products li.product .price { color: var(--kt-black); font-weight: 750; }

.kt-product-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.kt-product-slot__media { aspect-ratio: 4 / 3; min-height: 0; }
.kt-product-slot__line { width: 60%; height: 12px; margin-top: 20px; background: var(--kt-line); }
.kt-product-slot__line--short { width: 34%; height: 8px; margin-top: 10px; }

.kt-band { padding: clamp(64px, 7vw, 96px) 0; background: var(--kt-black); color: var(--kt-white); }
.kt-band__title { margin-bottom: 42px; font-size: clamp(32px, 3.3vw, 50px); }
.kt-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #35383b; }
.kt-value { min-height: 180px; padding: 34px; background: var(--kt-black); }
.kt-value__index { display: block; margin-bottom: 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-weight: 900; }
.kt-value h3 { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-value p { margin: 0; color: #bdc0c3; }

.kt-story { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.kt-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 120px); }
.kt-story__copy p { max-width: 560px; margin: 24px 0 32px; color: var(--kt-muted); font-size: 18px; }

.site-footer { padding: 70px 0 34px; background: var(--kt-charcoal); color: var(--kt-white); }
.site-footer a { color: var(--kt-white); }
.site-footer a:hover { color: var(--kt-accent); }

.woocommerce-info, .woocommerce-message { border-top-color: var(--kt-accent); background: var(--kt-soft); }
.woocommerce-breadcrumb { margin: 28px 0 34px; color: var(--kt-muted); font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--kt-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--kt-accent); }

/* Shop and category archives are populated entirely from WooCommerce. */
.post-type-archive-product .site-main,
.tax-product_cat .site-main,
.tax-product_tag .site-main { padding: clamp(42px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.woocommerce-products-header { margin-bottom: 52px; }
.woocommerce-products-header__title.page-title {
  margin: 0;
  font-family: var(--kt-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.term-description { max-width: 720px; color: var(--kt-muted); }
.woocommerce-result-count { color: var(--kt-muted); font-size: 13px; }
.woocommerce-ordering select { min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--kt-line); background-color: var(--kt-white); }
.site-main ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; clear: both; }
.site-main ul.products::before, .site-main ul.products::after { display: none; }
.site-main ul.products li.product { width: auto !important; margin: 0 !important; }
.site-main ul.products li.product .button { margin-top: 14px; }

/* Single-product layout mirrors the approved local prototype. */
.single-product .site-main { padding-bottom: clamp(70px, 9vw, 130px); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; }
.single-product div.product .summary { grid-column: 2; padding-top: 10px; }
.single-product div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product div.product .woocommerce-product-gallery__image { background: var(--kt-soft); }
.single-product div.product .woocommerce-product-gallery__image img { width: 100%; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.single-product div.product .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.single-product div.product .product_title {
  margin: 0 0 22px;
  font-family: var(--kt-body);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.single-product div.product p.price { margin: 0 0 22px; color: var(--kt-black); font-size: 24px; font-weight: 700; }
.single-product div.product .woocommerce-product-details__short-description { color: var(--kt-graphite); }
.single-product div.product form.cart { display: flex; gap: 12px; margin: 28px 0 0; padding: 26px 0; border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }
.single-product div.product form.cart .quantity { margin: 0; }
.single-product div.product form.cart .qty { width: 88px; min-height: 54px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 0; text-align: center; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; }
.single-product div.product .product_meta { margin-top: 24px; padding-top: 0; border: 0; color: var(--kt-muted); font-size: 13px; }
.single-product div.product .product_meta a { color: var(--kt-black); }
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; width: 100%; float: none; }
.single-product .woocommerce-tabs { margin-top: 24px; }
.single-product .woocommerce-tabs ul.tabs { width: 24%; }
.single-product .woocommerce-tabs .panel { width: 70%; }
.single-product .related.products > h2,
.single-product .upsells.products > h2 { font-family: var(--kt-heading); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }

@media (max-width: 900px) {
  .kt-hero { min-height: auto; grid-template-columns: 1fr; }
  .kt-hero__copy { padding: 72px var(--kt-gutter); }
  .kt-hero__media { min-height: 520px; order: 2; }
  .kt-products .products, .kt-product-slots, .kt-values { grid-template-columns: 1fr; }
  .kt-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-story { grid-template-columns: 1fr; }
  .kt-story__media { min-height: 480px; }
  .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary { grid-column: 1; }
}

@media (max-width: 767px) {
  .site-header .col-full { min-height: 68px; }
  .site-branding { margin-bottom: 0; }
  .menu-toggle { margin-left: auto; border-color: var(--kt-white); background: transparent; color: var(--kt-white); }
  .storefront-primary-navigation { flex: 0; }
  .main-navigation.toggled .handheld-navigation { width: 100%; padding: 12px 0 20px; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 12px 0; }
  .kt-hero__title { font-size: clamp(38px, 12vw, 56px); }
  .kt-hero__text { font-size: 17px; }
  .kt-hero__media { min-height: 380px; }
  .kt-section { padding: 72px 0; }
  .kt-category-list { grid-template-columns: 1fr; }
  .kt-category-link { min-height: 104px; }
  .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-story__media { min-height: 360px; }
  .site-main ul.products { grid-template-columns: 1fr; }
  .single-product div.product .product_title { font-size: 30px; letter-spacing: -.02em; }
  .single-product .woocommerce-tabs ul.tabs,
  .single-product .woocommerce-tabs .panel { width: 100%; float: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Elementor compatibility for the Karttools front-page design. */
.kt-home--elementor .elementor-element { box-sizing: border-box; }
.kt-home--elementor .kt-hero,
.kt-home--elementor .kt-category-list,
.kt-home--elementor .kt-product-slots,
.kt-home--elementor .kt-values,
.kt-home--elementor .kt-story {
  gap: 0;
  --gap: 0;
}
.kt-home--elementor .kt-hero { display: grid !important; }
.kt-home--elementor .kt-shell {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter)))) !important;
  max-width: var(--kt-content) !important;
  margin-inline: auto;
}
.kt-home--elementor .kt-heading .elementor-heading-title {
  margin: 0;
  color: inherit;
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__title .elementor-heading-title {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__text,
.kt-home--elementor .kt-hero__text .elementor-widget-container { max-width: 570px; }
.kt-home--elementor .kt-hero__text p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-button-widget .elementor-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-button-widget .elementor-button:hover {
  border-color: var(--kt-black);
  background: var(--kt-black);
}
.kt-home--elementor .kt-media { padding: 0; }
.kt-home--elementor .kt-fill-image,
.kt-home--elementor .kt-fill-image > .elementor-widget-container { width: 100%; height: 100%; }
.kt-home--elementor .kt-fill-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.kt-home--elementor .kt-section { display: block; }
.kt-home--elementor .kt-section__title .elementor-heading-title { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__intro p { max-width: 680px; margin: 18px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-home--elementor .kt-categories__header { display: flex !important; flex-direction: row; }
.kt-home--elementor .kt-category-list { display: grid !important; }
.kt-home--elementor .kt-category-link { display: grid !important; }
.kt-home--elementor .kt-category-link .elementor-heading-title {
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-category-link p { margin: 0; color: var(--kt-muted); font-size: 13px; }
.kt-home--elementor .kt-product-slots { display: grid !important; }
.kt-home--elementor .kt-product-slot__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kt-soft); }
.kt-home--elementor .kt-product-slot__title .elementor-heading-title {
  margin-top: 20px;
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot__meta p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band { display: block; }
.kt-home--elementor .kt-band__title .elementor-heading-title { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-values { display: grid !important; }
.kt-home--elementor .kt-value { display: block; }
.kt-home--elementor .kt-value__index .elementor-heading-title { margin: 0 0 24px; color: var(--kt-accent); font-family: var(--kt-heading); font-size: 16px; font-weight: 900; }
.kt-home--elementor .kt-value__title .elementor-heading-title { margin: 0 0 10px; color: var(--kt-white); font-family: var(--kt-heading); font-size: 18px; text-transform: uppercase; }
.kt-home--elementor .kt-value__text p { margin: 0; color: #bdc0c3; }
.kt-home--elementor .kt-story { display: grid !important; }
.kt-home--elementor .kt-story__copy { display: flex; }
.kt-home--elementor .kt-story__copy p { max-width: 560px; margin: 24px 0 0; color: var(--kt-muted); font-size: 18px; }

@media (max-width: 900px) {
  .kt-home--elementor .kt-hero,
  .kt-home--elementor .kt-product-slots,
  .kt-home--elementor .kt-values,
  .kt-home--elementor .kt-story { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-categories__header { align-items: stretch; flex-direction: column; }
  .kt-home--elementor .kt-hero__media { min-height: 520px; }
}
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__title .elementor-heading-title { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__text p { font-size: 17px; }
  .kt-home--elementor .kt-hero__media { min-height: 380px; }
  .kt-home--elementor .kt-category-list { grid-template-columns: 1fr !important; }
  .kt-home--elementor .kt-story__copy { padding: 72px var(--kt-gutter); }
  .kt-home--elementor .kt-story__media { min-height: 360px; }
}


/* Elementor 4 applies custom classes to containers; target their child widgets. */
.kt-home--elementor .kt-hero__copy h1,
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2,
.kt-home--elementor .kt-band h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__copy h1 {
  max-width: 700px;
  font-size: clamp(44px, 5.3vw, 84px);
}
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor { max-width: 570px; margin: 28px 0 34px; }
.kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p {
  margin: 0;
  color: var(--kt-graphite);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
}
.kt-home--elementor .kt-hero__actions .elementor-button {
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--kt-accent);
  border-radius: 0;
  background: var(--kt-accent);
  color: var(--kt-white);
  font-family: var(--kt-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-hero__actions .elementor-button:hover { border-color: var(--kt-black); background: var(--kt-black); }
.kt-home--elementor .kt-section__header h2,
.kt-home--elementor .kt-story__copy h2 { font-size: clamp(34px, 4vw, 58px); }
.kt-home--elementor .kt-section__header .elementor-widget-text-editor p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--kt-muted);
  font-size: 18px;
}
.kt-home--elementor .kt-category-link h3 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot h3 {
  margin: 20px 0 0;
  color: var(--kt-black);
  font-family: var(--kt-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kt-home--elementor .kt-product-slot p { margin: 6px 0 0; color: var(--kt-muted); font-size: 14px; }
.kt-home--elementor .kt-band h2 { margin-bottom: 42px; color: var(--kt-white); font-size: clamp(32px, 3.3vw, 50px); }
.kt-home--elementor .kt-value > .elementor-widget-heading:first-child .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--kt-accent);
  font-family: var(--kt-heading);
  font-size: 16px;
  font-weight: 900;
}
.kt-home--elementor .kt-value h3 {
  margin: 0 0 10px;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: 18px;
  text-transform: uppercase;
}
.kt-home--elementor .kt-value p { margin: 0; color: #bdc0c3; }
@media (max-width: 767px) {
  .kt-home--elementor .kt-hero__copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .kt-home--elementor .kt-hero__copy > .elementor-widget-text-editor p { font-size: 17px; }
}


/* Keep the Elementor hero compact and crop its image like the original mockup. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__copy {
    height: 680px !important;
    min-height: 0 !important;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    font-size: clamp(44px, 4.3vw, 68px);
  }
  .kt-home--elementor .kt-hero__media {
    height: 680px !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img {
    width: 100%;
    height: 100% !important;
  }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero { height: auto !important; max-height: none !important; }
  .kt-home--elementor .kt-hero__copy { padding-top: 60px; padding-bottom: 60px; }
  .kt-home--elementor .kt-hero__media,
  .kt-home--elementor .kt-hero__media .elementor-widget-image,
  .kt-home--elementor .kt-hero__media .elementor-widget-image > .elementor-widget-container,
  .kt-home--elementor .kt-hero__media img { height: 380px !important; min-height: 380px !important; }
  .kt-home--elementor .kt-hero__media img { object-fit: cover; object-position: center; }
}


/* Force hero text and image into separate, non-overlapping columns. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%) !important;
    isolation: isolate;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: var(--kt-white) !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
  }
  .kt-home--elementor .kt-hero__copy > .elementor-element {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 3;
  }
  .kt-home--elementor .kt-hero__copy h1 { color: var(--kt-black) !important; }
}


/* Final stable hero layout: two flex columns, never overlapping or collapsing. */
@media (min-width: 901px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy {
    flex: 0 0 43% !important;
    width: 43% !important;
    min-width: 0 !important;
    max-width: 43% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 57% !important;
    width: 57% !important;
    min-width: 0 !important;
    max-width: 57% !important;
    box-sizing: border-box !important;
  }
  .kt-home--elementor .kt-hero__copy h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    inline-size: auto !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 900px) {
  .kt-home--elementor .kt-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  .kt-home--elementor .kt-hero > .kt-hero__copy,
  .kt-home--elementor .kt-hero > .kt-hero__media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Shared Elementor layout for shop and account subpages. */
.kt-page-hero {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-black);
  color: var(--kt-white);
}
.kt-page-hero > .kt-shell { display: block !important; }
.kt-page-hero h1 {
  margin: 0;
  color: var(--kt-white);
  font-family: var(--kt-heading);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.kt-page-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #bdc0c3;
  font-size: 18px;
}
.kt-page-content {
  display: block !important;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--kt-white);
}
.kt-page-content > .kt-shell { display: block !important; }
.kt-page-content .woocommerce { width: 100%; }
.kt-page-content .woocommerce-notices-wrapper:empty { display: none; }
.kt-about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 90px);
}
.kt-about-image { min-height: 520px; overflow: hidden; background: var(--kt-soft); }
.kt-about-image .elementor-widget-image,
.kt-about-image .elementor-widget-image > .elementor-widget-container,
.kt-about-image img { width: 100%; height: 100%; }
.kt-about-image img { display: block; object-fit: cover; }
.kt-about-copy { justify-content: center; }
.kt-about-copy h2 {
  margin: 0;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}
.kt-about-copy p { margin: 22px 0 0; color: var(--kt-muted); font-size: 18px; }
.kt-page-content .woocommerce-MyAccount-navigation ul { margin: 0; }
.kt-page-content .woocommerce-MyAccount-content { min-height: 280px; }
@media (max-width: 767px) {
  .kt-page-hero, .kt-page-content { padding: 56px 0; }
  .kt-about-grid { grid-template-columns: 1fr; }
  .kt-about-image { min-height: 340px; }
}


/* Legal pages and footer navigation. */
.kt-legal-copy {
  width: min(900px, 100%) !important;
  max-width: 900px !important;
  margin-inline: auto;
}
.kt-legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--kt-black);
  font-family: var(--kt-heading);
  font-size: clamp(22px, 3vw, 32px);
  text-transform: uppercase;
}
.kt-legal-copy h2:first-child { margin-top: 0; }
.kt-legal-copy h3 { margin: 28px 0 10px; font-size: 20px; }
.kt-legal-copy p, .kt-legal-copy li { color: var(--kt-graphite); }
.kt-legal-copy ul { margin: 0 0 22px 1.2em; }
.kt-legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--kt-accent);
  background: var(--kt-soft);
}
.kt-footer-legal {
  width: min(var(--kt-content), calc(100% - (2 * var(--kt-gutter))));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid #3b3f43;
  color: #bdc0c3;
  font-size: 13px;
}
.kt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kt-footer-legal a { color: var(--kt-white); text-decoration: none; }
.kt-footer-legal a:hover { color: var(--kt-accent); }
.kt-footer-legal__contact { margin: 16px 0 0; }


/* Keep loop prices readable on mobile. */
ul.products li.product .price,
#karttools-live-products ul.products li.product .price {
    line-height: 1.18;
}

ul.products li.product .price .amount,
ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product .price .kt-loop-price-from,
#karttools-live-products ul.products li.product .price .amount,
#karttools-live-products ul.products li.product .price .woocommerce-Price-amount,
#karttools-live-products ul.products li.product .price .kt-loop-price-from {
    white-space: nowrap;
}
